﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Reportes.aspx.cs" Inherits="Reportes" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">       
    
<html xmlns="http://www.w3.org/1999/xhtml">

<head id="Head1" runat="server">    
<link rel="stylesheet" type="text/css" href="lookandfeel.css" />
    <title>Reportes</title>
</head>

<body>
    
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager2" runat="server" />                         

    <div>
        <table border="0">
            <tr>
                <td width="400" style="background-image:url('../Imagenes/banner_superior3.png')">
                    <br/>
                    <asp:Panel ID="titulo" runat="server" BorderWidth="0" Height="100px" BorderColor="White" style=" border-top: 0px; margin-left: 250px" Width="200px">
                        <img alt="" src="../Imagenes/titulo.png" style="width: 250px; height: 100px"  />
                    </asp:Panel>                        
                    <br/>
                    <br/>
                    <br/>
                    <br/>
                    <br/>
                    <br/>
                    <br/>
                    <br/>
                    <br/>
                    <br/>
                    <br/>
                    <br/>
                    <br/>         
                    <asp:Label ID="titulo_pagina" runat="server" Font-Bold="True" 
                                Font-Names="Palatino Linotype" Font-Size="X-Large" ForeColor="#3E7DD6" 
                                style="top: 75px; left: 500px; font-family: Verdana; font-size: 15pt; position: absolute; height: 25px; width: 500px" 
                                Text="Reportes"></asp:Label>                                                                                 
                </td>
                <td>          
                        <asp:ImageButton ID="regresar" runat="server" ToolTip="Regresar" ImageUrl="../Imagenes/regresar.png" 
                                style="top: 525px; left: 10px; position: absolute; height: 30px; width: 30px" 
                                onclick="buttonRegresar"/>
                                
                        <asp:ImageButton ID="ayuda" runat="server" ToolTip="Ayuda" ImageUrl="../Imagenes/ayuda.png" 
                                style="top: 525px; left: 50px; position: absolute; height: 40px; width: 40px" 
                                onclick="buttonAyuda"/>  
                                
                        <asp:Panel ID="popup_ayuda" 
                        runat="server" Direction="LeftToRight" Height="150px" 
                        style="top: 208px; left: 269px; position: absolute; width: 300px" 
                        Font-Names="Arial" BorderStyle="Solid" BorderColor="#3E7DD6" BorderWidth="2px" BackColor="#EFF4FC">
                
                            <asp:Label ID="label_ayuda" runat="server" Font-Bold="True" 
                                Font-Names="Palatino Linotype" Font-Size="Large" ForeColor="#6666FF" BorderWidth="2px" BorderStyle="Dotted"
                                style="top: -2px; left: -2px; font-family: Verdana; font-size: 12pt; font-family: Verdana; font-size: 9pt; position: absolute; height: 26px; width: 300px" 
                                Text="Ayuda"></asp:Label>  
                                
                       </asp:Panel>                                                                               
                       
                       <cc1:hovermenuextender ID="Hovermenuextender1" runat="Server"
                            TargetControlID="ayuda"
                            PopupControlID="popup_ayuda"
                            HoverCssClass="popupHover"
                            PopupPosition="Right"
                            OffsetX="25"
                            OffsetY="-100"
                            PopDelay="100" />  
                            
                       <asp:Image ID="image_linea1" runat="server" ImageUrl="../Imagenes/lineah.png" 
                                style="top: 130px; left: 218px; position: absolute; height: 20px; width: 150px"/>  
                        
                       <asp:ImageButton ID="boton_consultar" runat="server" ToolTip="Consultar Cliente"  ImageUrl="../Imagenes/consultar2.png" 
                                style="top: 120px; left: 280px; position: absolute; height: 55px; width: 55px"/>
                            
                       <asp:Image ID="imagen_linea2" runat="server" ImageUrl="../Imagenes/lineah.png" 
                                style="top: 180px; left: 200px; position: absolute; height: 20px; width: 150px" 
                                />   
                                
                       <asp:ImageButton ID="boton_insertar" runat="server" ToolTip="Insertar Cliente"  ImageUrl="../Imagenes/insertar.png" 
                                style="top: 170px; left: 265px; position: absolute; height: 55px; width: 55px" 
                                />                                                               
                                                  
                                
                        <asp:Image ID="imagen_linea3" runat="server" ImageUrl="../Imagenes/lineah.png" 
                                style="top: 220px; left: 170px; position: absolute; height: 20px; width: 150px" 
                                />                                    
                                
                       <asp:ImageButton ID="boton_modificar" runat="server" ToolTip="Modificar Cliente"  ImageUrl="../Imagenes/editar.png" 
                                style="top: 220px; left: 230px; position: absolute; height: 55px; width: 55px" 
                                />                                  
                    
                        <asp:Image ID="imagen_linea4" runat="server" ImageUrl="../Imagenes/lineah.png" 
                                style="top: 260px; left: 108px; position: absolute; height: 20px; width: 150px" 
                                />
                    
                       <asp:ImageButton ID="boton_eliminar" runat="server" ToolTip="Eliminar Cliente"  ImageUrl="../Imagenes/eliminar2.png" 
                                style="top: 260px; left: 160px; position: absolute; height: 55px; width: 55px" 
                                />   
                                
                       <asp:Image ID="imagen_linea5" runat="server" ImageUrl="../Imagenes/lineah.png" 
                                style="top: 265px; left: 14px; position: absolute; height: 20px; width: 150px" 
                                />
                    
                       <asp:ImageButton ID="gestion_contacto" runat="server" ToolTip="Contactos"  ImageUrl="../Imagenes/contactos.png" 
                                style="top: 270px; left: 70px; position: absolute; height: 55px; width: 55px" 
                                /> 
                                
                       <asp:GridView ID="GridView1" runat="server" 
                        style="top: 100px; left: 5px; position: absolute; height: 253px; width: 488px; " 
                        AutoGenerateColumns="False" DataKeyNames="rif">
                            <Columns>
                                <asp:BoundField DataField="rif" HeaderText="rif" ReadOnly="True" 
                                    SortExpression="rif" />
                                <asp:BoundField DataField="Nombre" HeaderText="Nombre" 
                                    SortExpression="Nombre" />
                                <asp:BoundField DataField="Correo" HeaderText="Correo" 
                                    SortExpression="Correo" />
                                <asp:BoundField DataField="Direccion" HeaderText="Direccion" 
                                    SortExpression="Direccion" />
                            </Columns>
                        </asp:GridView>
                        <br/>
                        <br/>
                        <br/>
                        
                        <asp:Button ID="Button1" runat="server" OnClick="generarPDF" Text="Generate PDF" Width="200px" />
                                                                                                                                                  
                        <asp:UpdatePanel ID="updatePnl" runat="server">
                            <ContentTemplate>
                            
                                <fieldset style="top: 300px; left: 50px; width: 300px; height:300px;">
                                <legend>Panel with random names</legend>
                                <br />
                                <asp:Button ID="Button2" runat="server" OnClick="Button1_Click" 
                                    Text="Generate random names"
                                    Width="200px" />
                                <br />
                                <div style="height: 35px; padding-top: 5px; padding-bottom: 5px">
                                <asp:UpdateProgress ID="UpdateProgress1" runat="server" 
                                    AssociatedUpdatePanelID="updatePnl"
                                    DisplayAfter="100" DynamicLayout="true">                                                                        
                                    
                                </asp:UpdateProgress>
                                </div>
                                <asp:Label Font-Bold="true" ID="lblNames" runat="server" Text="">
                                </asp:Label>
                                <br />
                                </fieldset> 
                                   
                            </ContentTemplate>
                        </asp:UpdatePanel>                                                              
                </td>
            </tr>
        </table>
    <div/>
    </form>
</body>
</html>
